package com.example.GenericParadigm;

/**
 * ? extends Number 可读 不可写
 * ? super Integer 可写 不可读
 *
 */
public class Bppclass extends Appclass {

    public  void  printtest() {
        System.out.println("this is Bppclass");
    }


    public <T> Class getClass1(Class<T> Class)
    {
         return Class;
    }


    public Class getClass2(Class<? extends Number> Class)
    {
        return Class;
    }

    public  Class getClass3(Class<?> Class)
    {
        return Class;
    }

    public Class getClass4(Class<? super Integer> Class)
    {
        return Class;
    }
}
